<?php
/*
 * 特卖会 产品页面
 */

if (!defined('IN_SEXMALL')){
	die('Hacking attempt');
}

$act_arr = array('intro', 'detail');

$product_id = isset($_REQUEST['product_id'])  ? intval($_REQUEST['product_id']) : 0;
$act = empty($_REQUEST['act']) ? 'intro' : trim($_REQUEST['act']);
$step = empty($_REQUEST['step']) ? '' : trim($_REQUEST['step']);

if (!in_array($act, $act_arr))
{
	$act = 'intro';
}

$action = 'index';

require include_model_file($model . '_' . $action);


?>